package cn.edu.pku.mapper;

import java.util.List;

import cn.edu.pku.entity.BorrowInfo;
import cn.edu.pku.vo.BorrowInfoResponse;
import cn.edu.pku.vo.request.BorrowInfoRequest;

public interface BorrowInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BorrowInfo record);

    int insertSelective(BorrowInfo record);

    BorrowInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BorrowInfo record);

    int updateByPrimaryKey(BorrowInfo record);
    List<BorrowInfoResponse> getBorrowInfoList(BorrowInfoRequest borrowInfoRequest);
}